core: Use GFile for repo constructor API, and a bit more internally
authorColin Walters <walters@verbum.org>
Thu, 22 Dec 2011 16:04:08 +0000 (11:04 -0500)
committerColin Walters <walters@verbum.org>
Thu, 22 Dec 2011 16:04:08 +0000 (11:04 -0500)
commitd25f1bf73d3b992a3209bd908faff489d8309443
treedc4889d35418145285f39f93aaffc7b3d632550a
parent8a499c4a2a9899f42b57d09acbd011ca028d50a4
core: Use GFile for repo constructor API, and a bit more internally

Also, ensure that the repo directory GFile is absolute - this avoids
a getcwd() syscall every time we construct a GFile object.
21 files changed:
src/daemon/ot-daemon.c
src/libostree/ostree-repo.c
src/libostree/ostree-repo.h
src/ostree/ostree-pull.c
src/ostree/ot-builtin-checkout.c
src/ostree/ot-builtin-checksum.c
src/ostree/ot-builtin-commit.c
src/ostree/ot-builtin-compose.c
src/ostree/ot-builtin-diff.c
src/ostree/ot-builtin-fsck.c
src/ostree/ot-builtin-init.c
src/ostree/ot-builtin-local-clone.c
src/ostree/ot-builtin-log.c
src/ostree/ot-builtin-ls.c
src/ostree/ot-builtin-remote.c
src/ostree/ot-builtin-rev-parse.c
src/ostree/ot-builtin-run-triggers.c
src/ostree/ot-builtin-show.c
src/ostree/ot-builtins.h
src/ostree/ot-main.c
src/ostree/ot-main.h